import style from '@/style'

// 代码生成器
const codeRouter = {
  path: '/code',
  name: 'code',
  component: style,
  children: [
    // 模块管理
    {
      name: 'module-inf',
      path: 'module-inf',
      components: {
        content: require('@/views/code/module-inf/module-inf').default
      }
    },
    // 数据表管理
    {
      name: 'table-inf',
      path: 'table-inf',
      components: {
        content: require('@/views/code/table-inf/table-inf').default
      }
    }
  ]
}

export default codeRouter
